<?php
/**
 * Created by PhpStorm.
 * User: Mo
 * Date: 15-6-6
 * Time: 上午2:21
 */

class Sys {
    public static function  error_reporting($err = null){
        return is_null($err) ? error_reporting() : error_reporting($err & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE);
    }

    public static function ini_set($name,$value = null){
        @ini_set($name,$value);
    }
}